//
//  SSDefalutHeader.h
//  starspaceVR
//
//  Created by 曹端芹 on 17/9/12.
//  Copyright © 2017年 starspace. All rights reserved.
//

#ifndef SSDefalutHeader_h
#define SSDefalutHeader_h


#define placeholderImageName @"place_image" 

#define kScreenHeight         [UIScreen mainScreen].bounds.size.height
#define kScreenWidth        [UIScreen mainScreen].bounds.size.width
#define kRealValue(x)  (x*(kScreenWidth/375))

#define kRGBColor(r,g,b) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1.0]
#define kRGBAColor(r,g,b,a)  [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a]

#define kFont(size)    [UIFont systemFontOfSize:size]
#define kBoldFont(size)      [UIFont boldSystemFontOfSize:size]

#define kWeakSelf(var, weakVar)    __weak __typeof(&*var) weakVar = var
#define kStrongSelf(var,strongVar) __strong __typeof(var) strongVar = var;


static NSString *const kSSHasLoginFlag = @"kSSHasLoginFlag";
static NSString *const kLoginSuccessKey = @"LoginSuccess";

#endif /* SSDefalutHeader_h */
